package org.seedltd.upms.model.sys.entity;

import org.seedltd.core.base.BaseEntity;
import org.seedltd.upms.enums.EnableStatus;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 通知公告表
 *
 * @author laizuan
 * @version 1.0
 * @since 2020/08/06
 */
@Getter
@Setter
@TableName("sys_notice")
public class SysNotice extends BaseEntity {

    /**
     * 公告ID
     */
    @TableId(value = "notice_id")
    private Integer noticeId;

    /**
     * 公告标题
     */
    @TableField(value = "notice_title")
    private String noticeTitle;

    /**
     * 公告类型（1通知 2公告）
     */
    @TableField(value = "notice_type")
    private Integer noticeType;

    /**
     * 内容
     */
    @TableField(value = "notice_content")
    private String noticeContent;

    /**
     * 阅读量
     */
    @TableField(value = "reading_quantity")
    private Integer readingQuantity;

    /**
     * 启用状态(1启用 0禁用)
     */
    @TableField(value = "enable_status")
    private EnableStatus enableStatus;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}